﻿package fui.FUIData.PHPRemoting {
	/* By Josh Strike // josh@joshstrike.com // Use freely and enjoy! */
	public class PHPResult {
		//takes the NetConnection result and passes it back as a phpResult object,
		//w/ a breakdown of the constituent objects.
		
		public var toFunction:Function;
		public var result:Object;
		public var log:String;
		
		function PHPResult(endRes:Object,toFunction:Function) {
			this.toFunction = toFunction;
			this.result = endRes.result;
			this.log = endRes.log;
			this.toFunction(this);
		}
	}
}